<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>   
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.yjck.fm.util.SystemProperties"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>家庭管理管理</title>
</head>
<style>
table
  {
  border-collapse:collapse;
  }

table,th, td
  {
  border: 1px solid black;
  }

</style>
<body>
<%
	String taskList = SystemProperties.get("task.list");
	String[] tasks = taskList.split(",");
 %>
<h2>任务列表</h2>
<table>
<tr>
<td>编号</td>
<td>任务名称</td>
<td>任务描述</td>
<td>是否完成</td>
</tr>
<%
	for(int i=0;i<tasks.length;i++){
		String[] vtask = tasks[i].split("&");
		%>
		<tr>
			<td><%=i+1 %></td>
			<td><%=vtask[0] %></td>
			<td><%=vtask[1] %></td>
			<td><%=vtask[2] %></td>
		</tr>
		
		<%
		
	}
%>


</table>
</body>
</html>